package com.ws;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * Created by Administrator on 2017/5/21.
 */
@SpringBootApplication
@Configuration
@ComponentScan(basePackages = "com.ws.*")
@MapperScan(basePackages = "com.ws.dao")
//@EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.class})
public class StartApplication {

    public static void main(String[] args) {
        SpringApplication.run(StartApplication.class);
        System.out.println("Start SpringBoot success !");
    }
}
